package com.conero.yangsu.entity;

import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import java.util.Date;


/**
 * 主实体类，含：id/createTime 且为自增，即数据库主要的类
 */
public class MainEntity {
    protected Long id;
    protected Date createTime;

    public Long getId() {
        return id;
    }

    public Date getCreateTime(){
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}
